﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace mitasoft.Web.DAL.Model
{
    public class BookPost
    {
        [Key]
        public int Id { get; set; }
        
        [StringLength(200)]
        [Required]
        public string Title { get; set; }

        [Required]
        public string Description { get; set; }

        [Required]
        public Book Book { get; set; }
    }
}
